EM FHPath/it

Other languages:

EM FHPath

Posizione nel menu
EM → FHPath
Ambiente
EM (add-on)
Avvio veloce
E T
Introdotto nella versione
0.17
Vedere anche
EM FHNode, EM FHSegment

Descrizione

The FHPath tool inserts a FHPath object, that is a set of FastHenry segments along a path.

FastHenry FHPath

Utilizzo

The FHPath object can be based on any shape containing edges, but the FHPath object is designed to work best with the support of a sketch or a wire.

  1. Select one or multiple object(s) containing edges.
  2. Press the EM FHPath button, or press E then T keys. As many FHPath objects will be created as the selected objects.

Note:

Proprietà

Script

See also: FreeCAD Scripting Basics.

The FHPath object can be used in macros and from the Python console by using the following function:

path = makeFHPath(baseobj=None,name='FHPath')

Esempio:

import FreeCAD, EM
from FreeCAD import Base
import Part, PartGui
spiral = App.ActiveDocument.addObject("Part::Spiral","Spiral")
spiral.Growth=1.00
spiral.Rotations=4.00
spiral.Radius=1.00
spiral.Placement=Base.Placement(Base.Vector(0.00,0.00,0.00),Base.Rotation(0.00,0.00,0.00,1.00))
spiral.Label='Spiral'

fhpath = EM.makeFHPath(spiral)
fhpath.Discr = 40
App.ActiveDocument.recompute()